
using System;
using ELE.EnterpriseLibrary.Aspects.Attributes;

namespace ELE.EnterpriseLibrary.Test 
{

  [Aspect(@"ctx:default:aspects.xml")]
  public class AspectTarget : ContextBoundObject
  {
    public void add (int a, int b) 
    {

      Console.WriteLine ("Sum of {0} + {1} = {2}", a, b, a+b);
    }
  }

  public class AspectTargetExt : AspectTarget
  {
    public void substract(int a, int b)
    {
      Console.WriteLine("Substr of {0} - {1} = {2}", a, b, a-b);
    }
  }
}
